﻿
@PanelTitle.CreateTitle("安全事故", "javascript:parent.addTab('安全事故列表','Sec/List')")
@*<marquee width="100%"   direction="up" height="350px"   
    onmouseout= "this.start(); "   onmouseover= "this.stop(); "  
 scrollamount="1"   scrolldelay="20"   scrollleft= "0"   scrolltop= "0"  > *@
@if (ViewBag.SecList != null)
{ 
    <div style="color:red;margin-top:5px; font-size:12pt">最新安全事故</div>
    <hr />
    <ul style="text-align:left; margin:3px 1px 1px 1px;padding-left:1px;width:95%">
        @foreach (var item in ViewBag.SecList)
        {
            <li class="list_style" style="margin-bottom:2px">
            @if ((bool)item.is_new)
            { 
                <span style="color:red">新</span>
            }
            <span style="font-weight:bold">[@item.sec_date]</span>
            
            @item.dept_name,@item.driver_name,@item.record_no,@item.sec_place
            </li>
        }
    
    </ul>
}
<div style="color:red;margin-top:5px;color:red">未结案安全事故</div>
<hr />
<ul style="text-align:left; margin:3px 1px 1px 1px;padding-left:1px;width:95%;color:red">
    @foreach (var item in ViewBag.UnCompleteSecList)
    {
        <li class="list_style" style="margin-bottom:2px;text-align:left;color:red">
            @if ((bool)item.is_new)
            { 
                <span style="color:red">新</span>
            }
            <span style="font-weight:bold">[@item.sec_date]</span>
            
            @item.dept_name,@item.driver_name,@item.record_no,@item.sec_place
        </li>
    }
    
</ul>

@*</marquee>*@
